<template>
	<div class="pageViewDesigner">
		<iframe
			:src="url"
			frameborder="0"
			style="width: 100%; height: 100%"
		></iframe>
	</div>
</template>

<script>
export default {
	data() {
		return {
			url: '',
		}
	},
	watch: {
		$route: {
			handler: function (val) {
				// console.log(111, val)
				this.url = val.meta?.menuAssemblyHref || ''
			},
			immediate: true,
		},
	},
}
</script>

<style lang="scss" scoped>
.pageViewDesigner {
	height: 100%;
	width: 100%;
}
</style>
